import { createApp } from 'vue'
import App from './App.vue'
import api from './components/index'
import ElementPlus from 'element-plus'  //引入插件
import 'element-plus/theme-chalk/index.css' //默认css样式
import zhCn from 'element-plus/es/locale/lang/zh-cn'   //引入中文包


import { createPinia} from 'pinia'
createApp(App).use(ElementPlus,{locale:zhCn}).use(api).use(createPinia()).mount('#app')
